<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>订单列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=userassets?>component/pear/css/pear.css" />
    </head>
    <body>
        <div class="pear-container">
            <div class="layui-row layui-col-space10">
                <div class="layui-col-md12">
                    <div class="layui-card">
                        <div class="layui-card-body">
                			<form class="layui-form" action="">
                				<div class="layui-form-item">
                					<div class="layui-form-item layui-inline">
                						<label class="layui-form-label">搜索</label>
                						<div class="layui-input-inline">
                							<select name="name">
                								<option value="">请选择</option>
                								<option value="trade_no">系统订单号</option>
                                			    <option value="out_trade_no">商户订单号</option>
                                			    <option value="qr_id">二维码ID</option>
                                			    <option value="name">商品名称</option>
                                			    <option value="money">订单金额</option>
                                			    <option value="type">支付方式</option>
                							</select>
                						</div>
                					</div>
                					<div class="layui-form-item layui-inline">
                						<label class="layui-form-label">搜索内容</label>
                						<div class="layui-input-inline">
                							<input type="text" name="value" placeholder="请输入搜索内容" class="layui-input">
                						</div>
                					</div>
                					<div class="layui-form-item layui-inline">
                						<button class="layui-btn layui-btn-md " lay-submit lay-filter="user-query">
                							<i class="layui-icon layui-icon-search"></i>
                							查询
                						</button>
                						<button type="reset" class="layui-btn layui-btn-md layui-btn-primary">
                							<i class="layui-icon layui-icon-refresh"></i>
                							重置
                						</button>
                					</div>
                				</div>
                			</form>
                		</div>
                		
                		<div style="padding: 16px;">
                            <div class="layui-card">
                                <div class="layui-card-body">
                                    <table class="layui-hide" id="order_table" lay-filter="order_table"></table>
                                </div>
                            </div>
                        </div>
                        <script type="text/html" id="isPay">
                    	{{#if (d.endtime == null) { }}
                    		<span style="border-radius: 10%;" class="layui-btn layui-btn-danger layui-btn-xs">未支付</span>
                    		{{# }else{ }}
                    			<span>{{ d.endtime }}</span>
                    			{{# } }}
                    	</script>
                    	<script type="text/html" id="user-bar">
                    	    <button class="layui-btn layui-btn-success layui-btn-sm" lay-event="callnotify">补单</button>
                    	</script>
                    </div>
                </div>
            </div>
        </div>
    </body>
    <script src="<?=userassets?>component/layui/layui.js"></script>
	<script src="<?=userassets?>component/pear/pear.js"></script>
    <script src="<?=userassets?>core_js/order.js?v=<?=time()?>"></script>
    